﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
	public class StringAttribut : Attribut
	{

		private string wert;
		public string Wert
		{
			get { return wert; }
			set { wert = value; }
		}

		public StringAttribut(string name, string wert)
			: base(name)
		{
			this.setWert(wert);
		}


		public string getWert()
		{
			return wert;
		}

		public void setWert(string wert)
		{
			this.wert = wert;
		}


		public override bool Equals(Object obj)
		{
			return wert.Equals(obj);
		}

		public override string ToString()
		{
			string returnstring = "stringAttribut: Name=" + Name + ", Wert=" + wert;
			return returnstring;
		}
	}
}
